package com.oil.petro.eshop.service;

import com.oil.petro.eshop.entity.Category;
import com.oil.petro.eshop.entity.Product;
import java.util.List;

public interface CategoryService {

    public Category getCategory(int id);

    public void deleteCategory(Category category);

    public int saveCategory(Category category);

    public void updateCategory(Category category);

    public List<Category> getCategoryList();

    public int getCategoryIdByName(String name);
}
